/**
 * This formats repuation in the same style as so, in that if the rep is over or 9999,
 * then it should be displayed as 10k or whatever
 */
require.def('formatter/rep', [], function(){
    return{
        format:function(rep){
            if ( typeof rep == "string" ){
                rep = parseInt(rep, 10);
            }
            if ( rep > 9999 ){
                rep /= 100;
                rep = Math.round(rep);
                rep /= 10;
                rep += 'k';
            }
            return rep
        }
    };
});
